package cn.devices.service;

import cn.devices.dto.InventoryDto;
import cn.devices.entity.TbInventory;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 盘点清单 服务类
 * </p>
 *
 * @author 秋水浮萍
 * @since 2021-02-07
 */
public interface TbInventoryService {


    int tbInventoryAdd(TbInventory tbInventory);
    String status(String deviceCode);

    PageInfo<TbInventory> testInventoryList(int pageIndex, int pageSize, String taskId);

    TbInventory tbInventoryById(String taskId,String deviceCode);
    int tbInventoryAdds( List<String> devices, String taskId);

    PageInfo<InventoryDto> inventoryDt(int pageIndex, int pageSize,String taskId);
}
